package com.hc.mall.thirdpart.feign;

import com.hc.common.utils.R;
import com.hc.mall.product.entity.BrandEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "mall-product")
public interface BrandFeign {
    @RequestMapping("/product/brand/update")
    public R save(@RequestBody BrandEntity brand);
}
